package com.sxj.corejava.code08_常用类.可变字符串;

/**
 * @author 石小俊
 * @date 2025年01月11日
 */
public class Test01 {

    public static void main(String[] args) {
        String s = "";
        for(int i = 0; i < 10000; i++){
            s += i;
        }
        StringBuffer buffer = new StringBuffer("admin");
        System.out.println(buffer);
        StringBuilder builder = new StringBuilder();
        System.out.println(builder);
        StringBuilder builder2 = new StringBuilder("alice");
        System.out.println(builder2);


    }

}
